package com.totoro.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.totoro.dao.BaseHibernateDao;
import com.totoro.dao.SupervisionDao;
import com.totoro.domain.Supervision;

/*
 * 督导员与学院关联service
 */
@Transactional
@Service
public class SupervisionService extends BaseService<Supervision, Integer>{

	private SupervisionDao supervisionDao;
	
	@Autowired
	@Override
	public void setBaseDao(BaseHibernateDao<Supervision, Integer> supervisionDao) {
		// TODO Auto-generated method stub
		this.baseDao = supervisionDao;
		this.supervisionDao = (SupervisionDao) supervisionDao;
	}

	
}
